import { postWay,getWay } from "@/utils/request.js";
/**
 * 登录接口
 */
export const loginInfo = (data) => postWay("/login", data);
export const registerInfo = (data) => postWay("/user/register", data);

export const orderCount = () => getWay("/p/myOrder/orderCount");

export const orderConfirm = (data) =>postWay('/p/order/confirm',data)

export const myOrder = (data) => getWay("/p/myOrder/myOrder", data)

export const submit = (data) => postWay("/p/order/submit", data)